package com.lemzdo.community.model;

import lombok.Data;

@Data
public class Comment {
    //主键id
    private Integer id;
    //对应的 帖子或者评论 的id
    private Integer postId;
    //评论的类型 1就是1级评论(回复楼主的),2就是2级评论(楼中楼的)
    private Integer type;
    //评论人id
    private Integer authorId;
    //创建时间
    private Long gmtCreate;
    //修改时间
    private Long gmtModified;
    //点赞数
    private Long likeCount;
    //评论内容
    private String content;
    //该评论的评论数
    private Integer commentCount;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getPostId() {
        return postId;
    }

    public void setPostId(Integer postId) {
        this.postId = postId;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getAuthorId() {
        return authorId;
    }

    public void setAuthorId(Integer authorId) {
        this.authorId = authorId;
    }

    public Long getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Long gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public Long getGmtModified() {
        return gmtModified;
    }

    public void setGmtModified(Long gmtModified) {
        this.gmtModified = gmtModified;
    }

    public Long getLikeCount() {
        return likeCount;
    }

    public void setLikeCount(Long likeCount) {
        this.likeCount = likeCount;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Integer getCommentCount() {
        return commentCount;
    }

    public void setCommentCount(Integer commentCount) {
        this.commentCount = commentCount;
    }
}